

05/09/2024 00:55:49 -- B1436 CIV -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : Global Britain v4 -- DB :  -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace:    at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex)
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Command_Core.ActiveUnit.GetAllSensors()
   at Command_Core.ActiveUnit.Sensors_ReadOnly()
Call Stack & Error details: 
Error at 101185: 
--------------- Starting new GUI-client session - 05/09/2024 16:31:51 Build 1436 CIV -----------------

User's machine 
Machine's name : DESKTOP-FEP4DH7
Thread's culture : en-GB
Installed culture : en-GB
Available virtual memory : 140732393.9Mo
Available RAM : 22385.9Mo
Total virtual memory : 140737488.2Mo
Total RAM : 34280.8Mo
OS name : Microsoft Windows 11 Pro
OS platform : Win32NT
OS version : 6.2.9200.0
>>Running as administrator. <<

Successfully loaded Sim Configuration.
Discovering DPI
DPI_scale = 0
DPI registry setting, HKEY_CURRENT_USER\Control Panel\Desktop\LogPixels:96.
Showing splash screen.
Loading splash image
Splash image loaded
Client.Initalize
Initialization started.
Starting initializing Sim Core.
Successfully started database scan.
Loaded terrain grids (BGD).
Successfully created Sim World.
Done initializing Sim Core.
Successfully initialized Sim Core.
Successfully switched to High Performance power plan.
Successfully loaded Lua UI Handlers.
Successfully created new game.
Successfully set database hash value.
Successfully completed Set Current Scenario.
Successfully initialized Lua.
Successfully cached map symbols.
Successfully created new scenario.
Initialization completed.
Wait for terrain to load.
Terrain loaded.
Starting loading MainForm.
Configured MainForm working area
License: Command full version
Configured range ring colors
Loaded Reference Points Color, Plotted Course and Waypoint Color
Done loading MainForm.
Calling MainForm_Shown.
Populated CanalList.
Added World Window panel.
Built database list.
Preparing Wold Window.
Preparing Wold Window done.
Prepared Wold Window.
Calling MainForm_Shown: Show window.
Closed splash screen.
Showed Start Game window.
Finished MainForm_Shown.
DXNTRACE-INIT: Initializing DX11 renderer.
DXNTRACE-INIT: Initialized DX11 renderer.
Error in Exception Handler! OnThreadException
Error in Exception Handler! theEx != null
Error in Exception Handler! e.Exception.GetType().Name: NullReferenceException
Error in Exception Handler! theEx.Message: Object reference not set to an instance of an object.
Error in Exception Handler! theEx.StackTrace:    at Command.UnitComms.dhWPCK2woEs(Object  , EventArgs  )
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Error in Exception Handler! This is probably a Error in Exception Handler!. Please save a screenshot of this and submit it, along with the autosave files, for investigation.

Exception: Object reference not set to an instance of an object.

Stack Trace:    at Command.UnitComms.dhWPCK2woEs(Object  , EventArgs  )
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


